export const SELECT_DATA: string[] = ['交易单元', '日期', '时点'];
export const OPTION_KEY: Record<string, any> = {
  交易单元: 'unit',
  日期: 'date',
  时点: 'timeOrder',
};

export const headerMap: any = {
  上网电量: 'onlineQuantity',
  '实际B-模拟A-差额电量': 'balanceQuantity',
  '实际B-模拟A-差额电价': 'balancePrice',
  '实际B-模拟A-现货日前加权均价': 'avgPrice',
  '实际B-模拟A-收入偏差': 'deviationCost',
  '实际B-模拟A-回收费用偏差': 'recycleDeviationCost',
  '实际B-模拟A-扣费收入偏差': 'feeDeductionCost',
  '实际B-模拟A-扣费电价偏差': 'feeDeductionPrice',
  '实际B-累计中长期电量': 'actualBTotalLongTermQuantity',
  '实际B-累计中长期均价': 'actualBActualAAvgPrice',
  '实际B-综合电价': 'actualBComprehensivePrice',
  '实际B-收入': 'actualBTotalIncome',
  '实际B-回收费用': 'actualBRecycleDeviationCost',
  '实际B-扣费收入': 'actualBFeeDeductionCost',
  '模拟A-累计中长期电量': 'simulateATotalLongTermQuantity',
  '模拟A-累计中长期均价': 'simulateAAvgPrice',
  '模拟A-综合电价': 'simulateAActualComprehensivePrice',
  '模拟A-收入': 'simulateATotalIncome',
  '模拟A-回收费用': 'simulateARecycleDeviationCost',
  '模拟A-扣费收入': 'simulateAFeeDeductionCost',
};
export const tableHead = [
  //实际B-模拟A
  {
    field: 'balanceQuantity',
    name: '差额电量',
    width: 86,
    parentName: '实际-模拟',
  },
  {
    field: 'balancePrice',
    name: '差额电价',
    width: 86,
    parentName: '实际-模拟',
  },
  {
    field: 'avgPrice',
    name: '现货日前加权均价',
    width: 116,
    parentName: '实际-模拟',
  },
  {
    field: 'deviationCost',
    name: '收入偏差',
    width: 86,
    parentName: '实际-模拟',
  },
  {
    field: 'recycleDeviationCost',
    name: '回收费用偏差',
    width: 100,
    parentName: '实际-模拟',
  },
  {
    field: 'feeDeductionCost',
    name: '扣费收入偏差',
    width: 100,
    parentName: '实际-模拟',
  },
  {
    field: 'feeDeductionPrice',
    name: '扣费电价偏差',
    width: 100,
    parentName: '实际-模拟',
  },
  //实际B
  {
    field: 'actualBTotalLongTermQuantity',
    name: '累计中长期电量',
    width: 110,
    parentName: '实际',
  },
  {
    field: 'actualBActualAAvgPrice',
    name: '累计中长期均价',
    width: 110,
    parentName: '实际',
  },
  {
    field: 'actualBComprehensivePrice',
    name: '综合电价',
    width: 86,
    parentName: '实际',
  },
  {
    field: 'actualBTotalIncome',
    name: '收入',
    width: 86,
    parentName: '实际',
  },
  {
    field: 'actualBRecycleDeviationCost',
    name: '回收费用',
    width: 86,
    parentName: '实际',
  },
  {
    field: 'actualBFeeDeductionCost',
    name: '扣费收入',
    width: 86,
    parentName: '实际',
  },
  //模拟A
  {
    field: 'simulateATotalLongTermQuantity',
    name: '累计中长期电量',
    width: 110,
    parentName: '模拟',
  },
  {
    field: 'simulateAAvgPrice',
    name: '累计中长期均价',
    width: 110,
    parentName: '模拟',
  },
  {
    field: 'simulateAActualComprehensivePrice',
    name: '综合电价',
    width: 88,
    parentName: '模拟',
  },
  {
    field: 'simulateATotalIncome',
    name: '收入',
    width: 88,
    parentName: '模拟',
  },
  {
    field: 'simulateARecycleDeviationCost',
    name: '回收费用',
    width: 88,
    parentName: '模拟',
  },
  {
    field: 'simulateAFeeDeductionCost',
    name: '扣费收入',
    width: 88,
    parentName: '模拟',
  },
];

export const SORT = {
  desc: 'desc',
  asc: 'asc',
};
